/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.webos.java.jabber.tree;

import java.util.Comparator;

/**
 *
 * @author Kostya
 */
public class GroupComparator implements Comparator<GroupItem>{

    public int compare(GroupItem o1, GroupItem o2) {
        return o1.getName().compareToIgnoreCase(o2.getName());
    }
    
}
